
public class Jx extends Mian {
	private int l;
	private int k;
	public Jx(int l,int k){
		this.l=l;
	    this.k=k;
	}
	
	public int getL() {
		return l;
	}
	public void setL(int l) {
		this.l = l;
	}
	public int getK() {
		return k;
	}
	public void setK(int k) {
		this.k = k;
	}
	
	public double C(){
		return l+k+l+k;
	}
	public double S(){
		return l*k;
	}

}
